<!DOCTYPE html>
<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>基础知识</title>
	<link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css"?v=3.3.6" rel="stylesheet">
	<link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
	<link href="https://cdn.bootcdn.net/ajax/libs/animate.css/3.2.3/animate.css" rel="stylesheet">
	<link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
	<link rel="stylesheet" type="text/css" href="../../static/css/public.css" />
	<style type="text/css">
		*{
			margin: 0;
			padding: 0;
		}
		.wrap{
			width: 200px;
			height: 145px;
			margin: 0 auto;
			overflow: hidden;
			transition: all 1s;
		}
		.wrap img{
			width: 200px;
			height: 100px;
		}
	
		.box h3{
			width: 200px;
			height:16px;
			font-size: 14px;
			margin: 0 auto;
			overflow: hidden;
		}
		.box h3:hover{
			display: inline-block;
			color: blue;
			height: 60px;
		}
		.a{
			width: 200px;
			height: 220px;
			margin: 0 auto;
		}
		.a ::after{
			content: "";
			clear: both;
			overflow: hidden;
		}
		 a{
			text-decoration: none;
		 }
		 .ab{
			width: 150px;
			height: 100%;
			float: left;
			margin-left: 0px;
		 }
	</style>
</head>
<body>
	<!--右边内容-->
	<div id="app" class="main">
		<div class="shadow">
			<div>
				<p>常在pc端商品列表会用到</p>
				<pre>
	&lt;style type="text/css"&gt;
		*{
			margin: 0;
			padding: 0;
		}
		.wrap{
			width: 200px;
			height: 145px;
			margin: 0 auto;
			/*text-align: center;*/
			overflow: hidden;
			transition: all 1s;
		}
		.wrap img{
			width: 200px;
			height: 100px;
		}
		.box h3{
			width: 200px;
			height:15px;
			margin: 0 auto;
			overflow: hidden;
		}
		.box h3:hover{
			display: inline-block;
			color: blue;
			height: 60px;
		}
		.a{
			width: 200px;
			height: 220px;
			margin: 0 auto;
		}
		.a ::after{
			content: "";
			clear: both;
			overflow: hidden;
		}
		 a{
			text-decoration: none;
		 }
		 .ab{
			width: 150px;
			height: 100%;
			float: left;
			margin-left: 0px;
		 }
	&lt;/style&gt;				
	&lt;div class="wrap a"&gt;
		&lt;a href="#"&gt;
			&lt;img src="img/timg.jpg" /&gt;
			&lt;div class="box"&gt;
				&lt;h3&gt;Microsoft/微软 Surface Pro 7 i5 8GB 256GB 12.3英寸Microsoft/微软 Surface Pro 7 i5 8GB 256GB 12.3英寸&lt;/h3&gt;
			&lt;/div&gt;
			&lt;span class="ab"&gt;销售量:524463台&lt;/span&gt;
		&lt;/a&gt;
	&lt;/div&gt;				
				</pre>
			</div>
			<div class="flex">
				<div class="wrap a">
					<a href="#">
						<img src="img/tt.jpg" />
						<div class="box">
							<h3>
		Microsoft/微软 Surface Pro 7 i5 8GB 256GB 12.3 英寸二合一 超薄Pro7 windows系统2019新款				
							</h3>
						</div>
						<span class="ab">销售量:524463台</span>
					</a>
				</div>
			</div>
		</div> 
	</div>
	<!--第三方插件-->
	<!--页面加载进度条-->
	<script src="https://cdn.bootcdn.net/ajax/libs/pace/0.5.0/pace.min.js"></script>
</body>

</html>